package cn.gson.fengboot.model.pojos;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Objects;

@Entity
public class Lweixiugongdan {
    private int gdId;//工单
    private Integer clientId;//客户
    private Integer orderdetailId;//订单id
    private Integer linkmanId;//联系人
    private Integer prodetailId;//产品对象（产品id）
    private BigDecimal gdHao;//工单流水号
    private Timestamp jiedanTime;//维修接单日期
    private String gdLeixing;//工单类型
    private String gdBaoxiu;//保修状态
    private Timestamp gdCpscriqi;//维修工单产品生产日期
    private Timestamp gdCpxsriqi;//维修工单产品销售日期
    private String gdGuzhangmiaoshu;//故障描述
    private String gdZhuyishixiang;//注意事项
    private String jiedanZhuangkuan;//接单状况
    private String chengjiebumen;//承接部门
    private BigDecimal weixiuMoney;//工单费用
    private BigDecimal weixiuYishoumoney;//维工单修已收款
    private String gdZhuangtai;//维修工单状态
    private String gdBeizhu;//维修工单备注
    private String gdPeople;//维修负责员工

    @Id
    @Column(name = "gd_id")
    public int getGdId() {
        return gdId;
    }

    public void setGdId(int gdId) {
        this.gdId = gdId;
    }


    @Basic
    @Column(name = "linkman_id")
    public Integer getLinkmanId() {
        return linkmanId;
    }

    public void setLinkmanId(Integer linkmanId) {
        this.linkmanId = linkmanId;
    }

    @Basic
    @Column(name = "prodetail_id")
    public Integer getProdetailId() {
        return prodetailId;
    }

    public void setProdetailId(Integer prodetailId) {
        this.prodetailId = prodetailId;
    }

    @Basic
    @Column(name = "gd_hao")
    public BigDecimal getGdHao() {
        return gdHao;
    }

    public void setGdHao(BigDecimal gdHao) {
        this.gdHao = gdHao;
    }

    @Basic
    @Column(name = "jiedan_time")
    public Timestamp getJiedanTime() {
        return jiedanTime;
    }

    public void setJiedanTime(Timestamp jiedanTime) {
        this.jiedanTime = jiedanTime;
    }

    @Basic
    @Column(name = "gd_leixing")
    public String getGdLeixing() {
        return gdLeixing;
    }

    public void setGdLeixing(String gdLeixing) {
        this.gdLeixing = gdLeixing;
    }

    @Basic
    @Column(name = "gd_baoxiu")
    public String getGdBaoxiu() {
        return gdBaoxiu;
    }

    public void setGdBaoxiu(String gdBaoxiu) {
        this.gdBaoxiu = gdBaoxiu;
    }

    @Basic
    @Column(name = "gd_cpscriqi")
    public Timestamp getGdCpscriqi() {
        return gdCpscriqi;
    }

    public void setGdCpscriqi(Timestamp gdCpscriqi) {
        this.gdCpscriqi = gdCpscriqi;
    }

    @Basic
    @Column(name = "gd_cpxsriqi")
    public Timestamp getGdCpxsriqi() {
        return gdCpxsriqi;
    }

    public void setGdCpxsriqi(Timestamp gdCpxsriqi) {
        this.gdCpxsriqi = gdCpxsriqi;
    }

    @Basic
    @Column(name = "gd_guzhangmiaoshu")
    public String getGdGuzhangmiaoshu() {
        return gdGuzhangmiaoshu;
    }

    public void setGdGuzhangmiaoshu(String gdGuzhangmiaoshu) {
        this.gdGuzhangmiaoshu = gdGuzhangmiaoshu;
    }

    @Basic
    @Column(name = "gd_zhuyishixiang")
    public String getGdZhuyishixiang() {
        return gdZhuyishixiang;
    }

    public void setGdZhuyishixiang(String gdZhuyishixiang) {
        this.gdZhuyishixiang = gdZhuyishixiang;
    }

    @Basic
    @Column(name = "jiedan_zhuangkuan")
    public String getJiedanZhuangkuan() {
        return jiedanZhuangkuan;
    }

    public void setJiedanZhuangkuan(String jiedanZhuangkuan) {
        this.jiedanZhuangkuan = jiedanZhuangkuan;
    }

    @Basic
    @Column(name = "chengjiebumen")
    public String getChengjiebumen() {
        return chengjiebumen;
    }

    public void setChengjiebumen(String chengjiebumen) {
        this.chengjiebumen = chengjiebumen;
    }

    @Basic
    @Column(name = "weixiu_money")
    public BigDecimal getWeixiuMoney() {
        return weixiuMoney;
    }

    public void setWeixiuMoney(BigDecimal weixiuMoney) {
        this.weixiuMoney = weixiuMoney;
    }

    @Basic
    @Column(name = "weixiu_yishoumoney")
    public BigDecimal getWeixiuYishoumoney() {
        return weixiuYishoumoney;
    }

    public void setWeixiuYishoumoney(BigDecimal weixiuYishoumoney) {
        this.weixiuYishoumoney = weixiuYishoumoney;
    }

    @Basic
    @Column(name = "gd_zhuangtai")
    public String getGdZhuangtai() {
        return gdZhuangtai;
    }

    public void setGdZhuangtai(String gdZhuangtai) {
        this.gdZhuangtai = gdZhuangtai;
    }

    @Basic
    @Column(name = "gd_beizhu")
    public String getGdBeizhu() {
        return gdBeizhu;
    }

    public void setGdBeizhu(String gdBeizhu) {
        this.gdBeizhu = gdBeizhu;
    }

    @Basic
    @Column(name = "gd_people")
    public String getGdPeople() {
        return gdPeople;
    }

    public void setGdPeople(String gdPeople) {
        this.gdPeople = gdPeople;
    }

}
